package common.events
{
	import flash.events.Event;
	import flash.geom.Point;

	public class PointEvent extends Event
	{
		public static const CHANGEPOINT : String = "changePointEvent";
		public static const NOPOINT : String = "noPointEvent";
		
		[Bindable]
		public var point : Point = null;
				
		public static function createCustomPointEvent(type : String, point : Point) : PointEvent
		{
			var pointEvent : PointEvent = new PointEvent(type);
			pointEvent.point = point;
			
			return pointEvent;
		}
		
		public function PointEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}

	}
}